package com.wanxi.dao;

import com.wanxi.model.UserModel;

import java.util.ArrayList;
import java.util.List;

public class UserDao {
    public static List<UserModel> list = new ArrayList<>();
    public int add(UserModel userModel){
        try {
            list.add(userModel);
        } catch (Exception e) {
            return 0;
        }
        return 1;
    }
}
